<div ng-controller="tablesC">
    <div class="bg-light lter b-b wrapper-md">
        <h1 class="m-n font-thin h3">客户信息表</h1>
    </div>
    <div class="wrapper-md" style="text-align: center;">
        <div class="panel panel-default">
            <div class="panel-heading">
                <div class="col-lg-3 col-md-3 col-sm-3 col-xs-12">
                    <button class="btn m-b-xs btn-sm btn-default btn-addon"><i class="fa fa-plus"></i>添加</button>
                </div>
                <div class="col-lg-3 col-md-3 col-sm-3 col-xs-12 input-group">
                    <input type="text" class="form-control">
              <span class="input-group-btn">
                <button class="btn btn-default" type="button">查找</button>
              </span>
                </div>
            </div>
            <div class="table-responsive">
                <table id="example1" class="table table-striped b-t b-light" >
                    <thead>
                        <tr>
                            <th style="text-align: center;">客户经理</th>
                            <th style="text-align: center;">公司名称</th>
                            <th style="text-align: center;">公司简称</th>
                            <th style="text-align: center;">联系电话</th>
                            <th style="text-align: center;">创建时间</th>
                        </tr>
                    </thead>
                    <tbody>
                    <tr ng-repeat="item in users">
                        <td style="width:15%">{{item.Creater}}</td>
                        <td style="width:25%">{{item.Name}}</td>
                        <td style="width:25%">{{item.ShortName}}</td>
                        <td style="width:10%">{{item.Phone}}</td>
                        <td style="width:25%">{{item.CreateTime}}</td>


                        <!--<td style="width:20%">-->
                            <!--<button class="btn btn-sm btn-default" ng-click="edituserz($index)">-->
                                <!--<i class="fa fa-plus text"></i>-->
                                <!--<span class="text">编辑</span>-->
                            <!--</button>-->
                        <!--</td>-->
                    </tr>
                    </tbody>
                </table>
                <div class="panel-heading">

                    <div>
                        <button class="btn btn-sm btn-default" ng-disabled="pageid==1">
                            <i class="fa fa-chevron-left text"></i>
                            <span class="text" ng-click="previous(pageid)">上一页</span>
                        </button>
                        <span>第 {{pageid}} 页 共 {{total}} 页</span>
                        <button class="btn btn-sm btn-default" ng-disabled="pageid==total">
                            <span class="text" ng-click="next(pageid)">下一页</span>
                            <i class="fa  fa-chevron-right text"></i>
                        </button>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>